const Ajax = window.ajaxbusinessAssets;


//关联数据
export const listRelationDictionary = (param) => Ajax.request(`/v1/basic/dictionary/dictionary/listRelationDictionary`, 'post', param);
//列表
export const listDictionary = (param) => Ajax.request(`/v1/basic/dictionary/dictionary/listDictionary`, 'post', param, {
  showLoading: true
});
//删除
export const deleteDictionary = (param) => Ajax.request(`/v1/basic/dictionary/dictionary/deleteDictionary`, 'post', param, {
  showLoading: true
});
//详情
export const detailDictionary = (param) => Ajax.request(`/v1/basic/dictionary/dictionary/detailDictionary`, 'post', param);

export const dictionaryDetail = (param) => Ajax.request(`/v1/basic/proc/dictionary/detail`, 'post', param, {
  showLoading: true
});

export const dictionaryOperate = (param) => Ajax.request(`/v1/basic/proc/dictionary/operate`, 'post', param, {
  showLoading: true
});
